#include "stdafx.h"
#include "../vfs/FileDeviceHandle.h"
#include "../vfs/FileDescriptor.h"

namespace ja2{ namespace vfs
{
	FileDescriptor::FileDescriptor(boost::filesystem::path const &FileName)
		: m_Name(FileName)
	{
	}

	FileDeviceHandlePtr_t FileDescriptor::get_file_handle(std::ios_base::openmode Mode) const
	{
		return do_get_file_handle(Mode);
	}

	boost::filesystem::path const &FileDescriptor::get_file_name() const
	{
		return m_Name;
	}
} /*vfs*/} /*ja2*/